package com.bocloud.service;

import com.bocloud.mapper.*;
import com.bocloud.model.*;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2018/12/16.
 */

@Service
public class CompanyServiceImp implements CompanyService{

    @Autowired
    private CompanyMapper companyMapper;

    /**
     * 用途：获取公司表中的所有数据
     * @param
     * @return Company
     */
    @Override
    public List<Company> getAllCompany() {
        return companyMapper.getAll();
    }
}
